{$t(amount < 0 ? 'payments.sent' : 'payments.received')}
{#if p.with}
{amount > 0 ? 'From' : 'To'}
{/if}
{#if p.type === types.pot}
{amount > 0 ? 'From' : 'To'}
{/if}
Amount
{f(fiat(a, rate), currency)}
⚡️{s(a)}
{#if tip}
Tip
{f(fiat(tip, rate), currency)}
({Math.round((tip * 100) / Math.abs(a))}%)
⚡️{s(tip)}
Total
{f(fiat(a + (tip || 0), rate), currency)}
⚡️{`${s(a + (tip || 0))}`}
{/if}
Network fee
{f(fiat(fee, rate), currency)}
⚡️{`${s(fee)}`}
{#if ourfee > 0}
Platform fee
{f(fiat(ourfee, rate), currency)}
⚡️{`${s(ourfee)}`}
{/if}
Date
{format(new Date(created), 'MMMM d')},
{format(new Date(created), 'h:mm aaa')}
{#if type === 'bitcoin'}
{/if}
{#if ['laughingbean', 'burnabyartigiano', 'milanowestend', 'eotl', 'bigbite', 'edgemontartigiano'].includes(user.username.toLowerCase()) }
{/if}